//
//  HomePageHeadView.m
//  ChinaA
//
//  Created by Mxionlly on 2018/10/30.
//  Copyright © 2018 Evan. All rights reserved.
//

#import "HomePageHeadView.h"

@implementation HomePageHeadView


+ (HomePageHeadView *)getTopView
{
    HomePageHeadView *headView = [[[NSBundle mainBundle] loadNibNamed:@"HomePageHeadView" owner:nil options:nil] objectAtIndex:0];
    headView.frame = CGRectMake(0, 0, KScreenWidth, 200);
    [headView initUI];
    return headView;
}


-(void)initUI{
    
    _tabView = [[DWTabView alloc]initWithFrame:CGRectMake(25, 167, 140, 24)];
    [self addSubview:_tabView];
    self.tabView.selectColor = COLOR_main;
    self.tabView.normalColor = [UIColor whiteColor];
    self.tabView.items = @[@"普通用户",@"合伙人"];
    self.tabView.indicatorPosition = BMTabViewIndicatorPoistionBottom;
}

@end
